﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Async_Socket_Server
{
    public partial class FormSend : Form
    {
        public delegate void SendTextDelegate(string text);
        public SendTextDelegate SendTextCallback;

        public FormSend()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            SendTextCallback(comboBox1.Text);
        }
    }
}
